import request from '@/utils/request.js'
/* 
 * 统一管理Api请求
 */


export function asyncGet(params) {
	return request({
		url: '/getWangYiNews',
		method: 'GET',
		params
	})
}

export function asyncPost(data) {
	console.log("data==", data);
	return request({
		url: '/getWangYiNews',
		method: 'POST',
		params: data
	})
}
